"use strict";
cc._RF.push(module, '5936aONR19CFKnDjMtnAiJq', 'chat_28Reward');
// scripts/chatRoom/chat_28Reward.js

'use strict';

// Learn cc.Class:
//  - [Chinese] http://www.cocos.com/docs/creator/scripting/class.html
//  - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/class/index.html
// Learn Attribute:
//  - [Chinese] http://www.cocos.com/docs/creator/scripting/reference/attributes.html
//  - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/reference/attributes/index.html
// Learn life-cycle callbacks:
//  - [Chinese] http://www.cocos.com/docs/creator/scripting/life-cycle-callbacks.html
//  - [English] http://www.cocos2d-x.org/docs/editors_and_tools/creator-chapters/scripting/life-cycle-callbacks/index.html
/**
 * 聊天室
 * 28开奖列表第一行显示
 */
cc.Class({
    extends: cc.Component,

    properties: {
        rtPeriods: cc.RichText,
        labBet: cc.Label

    },

    init: function init(data) {
        this.rtPeriods.string = '<color=#747474>' + '第 ' + '</color>' + '<color=#3B85FF>' + data.isuse + '</color>' + '<color=#747474>' + ' 期' + '</color>';
        this.labBet.string = data.num;
    }

});

cc._RF.pop();